package org.song.constant;

import io.swagger.annotations.ApiModel;

@ApiModel( value = "数字常量枚举类")
public enum NumberConstant {
    MIN_CODE( (byte)0 , 0 , 0L ,"项目最小值" ),
    MAX_CODE( (byte)128 , 99999 , 9999L , "项目最大常值" )
    ;

    private final Byte byteCode;

    private final Integer intCode;

    private final Long longCode;

    private final String msg;

    NumberConstant(Byte byteCode, Integer intCode, Long longCode , String msg) {
        this.byteCode = byteCode;
        this.intCode = intCode;
        this.longCode = longCode;
        this.msg = msg;
    }

    public Byte getByteCode() {
        return byteCode;
    }

    public Integer getIntCode() {
        return intCode;
    }

    public String getMsg() {
        return msg;
    }

    public Long getLongCode() {
        return longCode;
    }
}
